package com.hellowx_ssm.aop.proxy;

/**
 * Created by IntelliJ IDEA.
 *
 * @author MagicMushroom
 * @date 2021/6/8
 */
public class UserServiceProxy implements UserService{

    UserService userService = new UserServiceImpl();

    @Override
    public void register(User user) {
        System.out.println("log------------------");
        userService.register(user);
    }

    @Override
    public boolean login(User user) {
        System.out.println("log------------------------------");
        userService.login(user);
        return false;
    }
}
